package com.example.java_chatroom.mapper;

import com.example.java_chatroom.model.FriendApply;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FriendApplyMapper {

    Integer insertFriendApply(String friend, String argument, String user);

    List<FriendApply> queryFriendName(String userName);

    void deleteMessage(String user);

    Integer updateFriendApply(String argument, String friend, String userName);

    List<FriendApply> queryFriendNameByUserName(String userName);
}
